//
//  TYZBaseNavigationController.h
//  TYZKit
//
//  Created by TangBin on 2018/8/23.
//  Copyright © 2018年 TangBin. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface TYZNavInfo : NSObject

@property (nonatomic, strong) UIColor *bgColor;

@property (nonatomic, strong) UIFont *titleFont;

@property (nonatomic, strong) UIColor *titleColor;

/**
 初始化
 
 @param bgColor navBar的背景色
 @param titleFont 文字大小
 @param titleColor 文字颜色
 @return return value description
 */
- (instancetype)initWithNavBackgroundColor:(UIColor *)bgColor titleFont:(UIFont *)titleFont titleColor:(UIColor *)titleColor;

@end

@interface TYZBaseNavigationController : UINavigationController <UINavigationControllerDelegate, UIGestureRecognizerDelegate>


// 旋转方向 默认竖屏
@property (nonatomic, assign) UIInterfaceOrientation interfaceOrientation;
@property (nonatomic, assign) UIInterfaceOrientationMask interfaceOrientationMask;

/**
 设置navbar背景色、标题大小、标题颜色
 
 @param navInfo navInfo description
 */
- (void)setupNavCommonInfo:(TYZNavInfo *)navInfo;

@end
















